const area = {
  namespaced: true,
  state() {
    return {
      // 省份
      province: "北京",
      isArea: false,
    };
  },
  mutations: {
    // 弹出框控制
    showAreaPopup(state, value) {
      state.isArea = value.isPopup;
      if (value.option) {
        state.province = value.option;
      }
    },
  },
};
export default area;
